package org.september.pisces.filestore;

import org.september.pisces.filestore.controller.FileStorePoolController;

public enum PiscesFilePoolPermission {
    存储池列表(FileStorePoolController.List_Page,FileStorePoolController.List_Data),
    添加存储池(FileStorePoolController.Add_Page , FileStorePoolController.Add_Action),
    编辑存储池(FileStorePoolController.Edit_Page,FileStorePoolController.Edit_Action),
    删除存储池(FileStorePoolController.Delete_Action),
	;

    private String name;
    private String[] urls;

    PiscesFilePoolPermission(String... urls) {
        this.name = this.name();
        this.urls = urls;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String[] getUrls() {
		return urls;
	}

	public void setUrls(String[] urls) {
		this.urls = urls;
	}

}
